/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package openfireconnection.user.model;

import java.util.ArrayList;
import openfireconnection.group.model.MemberModel;
import openfireconnection.group.model.PropertyModel;

/**
 *
 * @author juanan
 */
public class UserModel {
    
    private String userName;
    private String name;
    private String email;
    private String creationDate;
    private String modificationDate;
    private String encryptedPassword;
    private String plainPassword;
    
    public UserModel(String userName) {
        this.userName = userName;
    }
    
    
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreationDate() {
        return creationDate;
    }

    public String getModificationDate() {
        return modificationDate;
    }

    public String getPassword() {
        return getEncryptedPassword();
    }

    public void setPassword(String password) {
        this.setEncryptedPassword(password);
    }

    /**
     * @return the plainPassword
     */
    public String getPlainPassword() {
        return plainPassword;
    }

    /**
     * @param plainPassword the plainPassword to set
     */
    public void setPlainPassword(String plainPassword) {
        this.plainPassword = plainPassword;
    }

    /**
     * @param creationDate the creationDate to set
     */
    public void setCreationDate(String creationDate) {
        this.creationDate = creationDate;
    }

    /**
     * @param modificationDate the modificationDate to set
     */
    public void setModificationDate(String modificationDate) {
        this.modificationDate = modificationDate;
    }

    /**
     * @return the encryptedPassword
     */
    public String getEncryptedPassword() {
        return encryptedPassword;
    }

    /**
     * @param encryptedPassword the encryptedPassword to set
     */
    public void setEncryptedPassword(String encryptedPassword) {
        this.encryptedPassword = encryptedPassword;
    }
    
}
